package com.rain.log.service.impl;

import com.rain.log.entity.TestUser;
import com.rain.log.mapper.TestUserMapper;
import com.rain.log.service.TestUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author xxq
 */
@Service
public class TestUserServiceImpl implements TestUserService {
    @Autowired
    private TestUserMapper testUserMapper;

    @Override
    public TestUser getUserById(Long userId) {
        return testUserMapper.selectById(userId);
    }
}
